
from rest_framework_jwt.views import obtain_jwt_token
from django.urls import path,re_path
from . import views
urlpatterns = [
    path(r'login/', obtain_jwt_token),
    path(r'captcha/', views.CaptchaAPIView.as_view()),
    path(r'register/', views.UserAPIView.as_view()),
    path(r'sms_login/', views.SMSLoginAPIView.as_view()),
    path(r'forget_password/', views.ForgetPasswordAPIView.as_view()),
    path(r'reset_password/', views.ResetPasswordAPIView.as_view()),
    re_path(r'mobile/(?P<mobile>1[3-9]\d{9})/', views.MobileAPIView.as_view()),
    re_path(r'mobile_login/(?P<mobile>1[3-9]\d{9})/', views.MobileLoginAPIView.as_view()),

    re_path(r'sms/(?P<mobile>1[3-9]\d{9})/', views.MSMAPIView.as_view()),

]
